//
//  MyCell.m
//  BestPurchase
//
//  Created by ZSMAC on 2018/10/17.
//  Copyright © 2018年 张帅. All rights reserved.
//

#import "MyCell.h"

@implementation MyCell{
    UIImageView * nextImageView;
}
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self=[super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self uiConfigure];
    }
    return self;
}
- (void)uiConfigure {
    _headerImageView = [[UIImageView alloc] initWithFrame:CGRectMake(15, 10, 32, 32)];
    _headerImageView.backgroundColor=[UIColor clearColor];
    [self.contentView addSubview:_headerImageView];
    
    _myTitleLabel = [[UILabel alloc] initWithFrame:CGRectMake(_headerImageView.right+15, 5, SCREEN_WIDTH-_headerImageView.right-30, 44)];
    _myTitleLabel.font=[UIFont systemFontOfSize:15];
    [self.contentView addSubview:_myTitleLabel];
    
    nextImageView =[[UIImageView alloc] initWithFrame:CGRectMake(SCREEN_WIDTH-35, 22-5, 15, 15)];
    nextImageView.image=[UIImage imageNamed:@"下一页"];
    nextImageView.contentMode=UIViewContentModeScaleAspectFill;
    [self.contentView addSubview:nextImageView];
    
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
